package controllers;

import models.Paciente;
import play.mvc.With;
import controllers.securesocial.SecureSocial;

@With(SecureSocial.class)
public class UsuarioBase extends CustomCRUD {

	public static void index() {
		render();
	}
	
	public static Paciente getPacienteToCreateObjective(){
		Long pacienteId = Long.valueOf(session.get("paciente_id"));
		return getUsuarioLogueado().getPacienteToCreateObjective(pacienteId);
	}
}
